import request from '@/utils/request'

// 查询成绩表3列表
export function listCourses3(query) {
  return request({
    url: '/system/courses3/list',
    method: 'get',
    params: query
  })
}

// 查询成绩表3详细
export function getCourses3(courseId) {
  return request({
    url: '/system/courses3/' + courseId,
    method: 'get'
  })
}

// 新增成绩表3
export function addCourses3(data) {
  return request({
    url: '/system/courses3',
    method: 'post',
    data: data
  })
}

// 修改成绩表3
export function updateCourses3(data) {
  return request({
    url: '/system/courses3',
    method: 'put',
    data: data
  })
}

// 删除成绩表3
export function delCourses3(courseId) {
  return request({
    url: '/system/courses3/' + courseId,
    method: 'delete'
  })
}
